<% locals.cssSection.push('/lib/bootstrap/css/bootstrap.min.css') %>
<% locals.cssSection.push('/stylesheets/global.css') %>
<% locals.cssSection.push('/stylesheets/account.css') %>
<% include ../header %>
<div class="sidebar">
	<div class="about"><h3>About Married Diary</h3><p>24 ways is the advent calendar for web geeks. Each day throughout December we publish a daily dose of web design and development goodness to bring you all a little Christmas cheer.</p></div>
</div>
<form id="reg-form" class="form-horizontal" action="register" method="post">
  <fieldset>
	<legend>注册</legend>
	<div id="form-alert" class="alert alert-error hide">
	</div>
	<div class="control-group">
	  <label class="control-label" for="txt-email">Email</label>
	  <div class="controls">
	    <input type="text" class="input-xlarge" id="txt-email" name="email">
	    <p class="help-block"></p>
	  </div>
	</div>
	<div class="control-group">
	  <label class="control-label" for="txt-name">用户名</label>
	  <div class="controls">
	    <input type="text" class="input-xlarge" id="txt-name" name="name">
	    <p class="help-block">2-12位</p>
	  </div>
	</div>
	<div class="control-group">
	  <label class="control-label" for="txt-password">密码</label>
	  <div class="controls">
	    <input type="password" class="input-xlarge" id="txt-password" name="password">
	    <p class="help-block">6-12位</p>
	  </div>
	</div>
  </fieldset>
  <div class="form-actions">
		<button id="btn-register" type="submit" class="btn btn-primary">注册</button>
	</div>
</form>
<% include ../footer %>
<script type="text/javascript">
seajs.use('account/register',function(account){
	new account.RegisterPage;
})
</script>
